package com.ms.pda.model

enum class KeyMap(val value: Int) {
    UNDEFINED(-1),
    WAREHOUSING(0),
    OUT_OF_STOCK(4),
    CODE1(1),
    CODE2(2),
    CODE3(3),
    MATCHING_PACKAGE(5),
    SECONDARY(6),
    DISMANTLE_CODE2(7),
    DISMANTLE_CODE3(8),
    DISMANTLE_ALL(9),
    DISMANTLE_SINGLE(10),
    REPLACE_CODE1(11),
    REPLACE_CODE2(12),
    RETURNING(13),

    ORDER(0),
    NO_ORDER(1),
    SUBMIT(0),
    UNSUBMITTED(1),


    ERROR(99),
    NORMAL(100),
    ERROR_SCANNED(101),
    ERROR_BOUND(102),
    ERROR_PRODUCT_DIFF(103),
    ERROR_NOT_BIND(104),
    ERROR_RATIO(105),
    ERROR_BEYOND_PLAN_COUNT(106),
    ERROR_IN_STOCK(107),
    ERROR_OUT_OF_STOCK(108),

    STORAGE_TYPE_SALE(0),
    STORAGE_TYPE_TRANSFER(1),
    STORAGE_TYPE_RETURN(2),
    RETURN_TYPE_SALE(0),
    RETURN_TYPE_RECALL(1),

    ONLINE(0),
    OFFLINE(1),

    LOAD_COMPLETE(1),
    LOAD_ERROR(2),
    LOAD_FINISH(0)

}